package com.lb.activity.sys.service;


import com.lb.activity.po.Role;
import com.lb.activity.util.ResultUtil;
import com.lb.activity.util.TreeJson;
import com.lb.activity.vo.PageVo;

import java.util.List;

public interface RoleService {
    ResultUtil addRole(Role role);

    ResultUtil roles(PageVo pageVo);

    Role getRoleById(Long roleId);

    List<TreeJson> getRoleTreeJsons(Long userId);
}
